package com.zyh.zhukang.productdetails.entity;

import java.util.List;

/**
 * 作者:zhuyunhao
 * 时间:2020/1/15 0015 14:30
 */
public class Standard {
    private Integer standardId;//规格id
    private Integer productId;//关联的商品id
    private Double price;//该规格对应的价格
    private String productDirection;//该规格对应的说明书
    private Integer kucunState;//库存状态(0库存,1现在有货,2货源紧张,3库存有限,4暂时缺货)
    private String standardName;//规格名称
    private List<ManZeng>manZeng;//满赠套餐集合

    public Standard() {
    }

    public Standard(Integer standardId, Integer productId, Double price, String productDirection, Integer kucunState, String standardName, List<ManZeng> manZeng) {
        this.standardId = standardId;
        this.productId = productId;
        this.price = price;
        this.productDirection = productDirection;
        this.kucunState = kucunState;
        this.standardName = standardName;
        this.manZeng = manZeng;
    }

    @Override
    public String toString() {
        return "Standard{" +
                "standardId=" + standardId +
                ", productId=" + productId +
                ", price=" + price +
                ", productDirection='" + productDirection + '\'' +
                ", kucunState=" + kucunState +
                ", standardName='" + standardName + '\'' +
                ", manZeng=" + manZeng +
                '}';
    }

    public Integer getStandardId() {
        return standardId;
    }

    public void setStandardId(Integer standardId) {
        this.standardId = standardId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getProductDirection() {
        return productDirection;
    }

    public void setProductDirection(String productDirection) {
        this.productDirection = productDirection;
    }

    public Integer getKucunState() {
        return kucunState;
    }

    public void setKucunState(Integer kucunState) {
        this.kucunState = kucunState;
    }

    public String getStandardName() {
        return standardName;
    }

    public void setStandardName(String standardName) {
        this.standardName = standardName;
    }

    public List<ManZeng> getManZeng() {
        return manZeng;
    }

    public void setManZeng(List<ManZeng> manZeng) {
        this.manZeng = manZeng;
    }
}
